﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.Business.Entitys.WMS;

/// <summary>
/// 入库任务单2实体.
/// </summary>
[SugarTable("wms_busi_in_task", "入库任务单2")]
[Tenant(ClaimConst.TENANTID)]
public class WmsBusiInTaskEntity : CLDEntityBase
{

    /// <summary>
    /// 入库单号.
    /// </summary>
    [SugarColumn(ColumnName = "F_OrderNo", ColumnDescription = "入库单号")]
    public string OrderNo { get; set; }

    /// <summary>
    /// 入库单别.
    /// </summary>
    [SugarColumn(ColumnName = "F_OrderTypeNo", ColumnDescription = "入库单别")]
    public string OrderTypeNo { get; set; }

    /// <summary>
    /// 入库单类型：1 原材料2半成品 3成品 .
    /// </summary>
    [SugarColumn(ColumnName = "F_Type", ColumnDescription = "入库单类型：1 原材料2半成品 3成品 ")]
    public string Type { get; set; }

    /// <summary>
    /// 检验时间.
    /// </summary>
    [SugarColumn(ColumnName = "F_CheckDate", ColumnDescription = "检验时间")]
    public DateTime? CheckDate { get; set; }

    /// <summary>
    /// 检验结果：OK NG.
    /// </summary>
    [SugarColumn(ColumnName = "F_CheckResult", ColumnDescription = "检验结果：OK NG")]
    public string CheckResult { get; set; }

    /// <summary>
    /// 状态： 0 待入库 1 入库中 2 入库完成 3 已过帐.
    /// </summary>
    [SugarColumn(ColumnName = "F_Status", ColumnDescription = "状态： 0 待入库 1 入库中 2 入库完成 3 已过帐")]
    public int? Status { get; set; }

    /// <summary>
    /// 备注.
    /// </summary>
    [SugarColumn(ColumnName = "F_Remark", ColumnDescription = "备注")]
    public string Remark { get; set; }

    /// <summary>
    /// 入库单条码.
    /// </summary>
    [SugarColumn(ColumnName = "F_Barcode", ColumnDescription = "入库单条码")]
    public string Barcode { get; set; }

    /// <summary>
    /// Site.
    /// </summary>
    [SugarColumn(ColumnName = "F_Site", ColumnDescription = "Site")]
    public string Site { get; set; }

}